package com.tsd.core.shiro.config;

import org.apache.shiro.web.session.mgt.DefaultWebSessionManager;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import java.io.Serializable;

/**
 * @ClassName: ShiroWebSessionManager
 * @Description: TODO
 * @Author: Hillpool
 * @Date: 2022/7/15 18:34
 * @Version: 1.0
 */
public class ShiroWebSessionManager extends DefaultWebSessionManager {

    private static final String REFERENCED_SESSION_ID_SOURCE = "Stateless request";

    @Override
    protected Serializable getSessionId(ServletRequest request, ServletResponse response) {
        return super.getSessionId(request, response);
    }
}
